home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / bench / x.txt / 000040_fdc@watsun.cc.columbia.edu_Mon Oct 15 16:00:58 EDT 2001.msg < prev    next >
Text File  |  2020-01-01  |  2KB  |  57 lines

  1. Article: 12851 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!watsun.cc.columbia.edu!fdc
  3. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  4. Newsgroups: comp.protocols.kermit.misc
  5. Subject: Re: scripting in server mode
  6. Date: 15 Oct 2001 20:01:26 GMT
  7. Organization: Columbia University
  8. Lines: 40
  9. Message-ID: <9qffam$mts$1@newsmaster.cc.columbia.edu>
  10. References: <336f652d.0110151140.59de71dd@posting.google.com>
  11. NNTP-Posting-Host: watsun.cc.columbia.edu
  12. X-Trace: newsmaster.cc.columbia.edu 1003176086 23484 128.59.39.2 (15 Oct 2001 20:01:26 GMT)
  13. X-Complaints-To: postmaster@columbia.edu
  14. NNTP-Posting-Date: 15 Oct 2001 20:01:26 GMT
  15. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:12851
  16.  
  17. In article <336f652d.0110151140.59de71dd@posting.google.com>,
  18. Shifeux <shifeux@hotmail.com> wrote:
  19. : Hello, I am trying to create a basic kermit script using kermit in
  20. : server mode.  I am able to setup the server using a simple script
  21. : which will just sit and listen for incoming phone calls via a modem.
  22. : What I would like to do now is log the entire session to a logfile...
  23. :
  24. What do you mean by "session"?  You can log all the server's actions
  25. in a transaction log.  Just add:
  26.  
  27.   LOG TRANSACTIONS filename
  28.  
  29. to the script before starting the server, specifying the desired file
  30. for the log.
  31.  
  32. : ... and
  33. : perform a little file managment after the session ends such as
  34. : removing the files that had been transferred.  All this while
  35. : remaining in server mode so it can accept more incoming connections.
  36. :
  37. Kermit can't do two things at the same time.  If it's in server mode,
  38. all actions are initiated by the client.  If it's in command mode, it
  39. can execute commands itself.
  40.  
  41. : Can anyone point me to some references for scripting Kermit in server
  42. : mode? Most of the resources I have been able to find are in regard to
  43. : scripting kermit as a client rather than a server. Thanks.
  44. :
  45. There are probably better ways to do what you want.  If you want to delete
  46. each file from the source after, and only if, it has been successfully
  47. transferred, there is a /DELETE switch on the client SEND and GET commands
  48. for this.  For tutorials on "atomic file movement", see:
  49.  
  50.   http://www.columbia.edu/kermit/case10.html
  51.  
  52. and (when using FTP rather than Kermit protocol):
  53.  
  54.   http://www.columbia.edu/kermit/ftpscripts.html
  55.  
  56. - Frank
  57.